package info.liujiachen.test.spring.security.entity;

import org.springframework.security.core.GrantedAuthority;

public class JwtUserAuthority implements GrantedAuthority {

    private String authority;

    public JwtUserAuthority() {

    }

    public JwtUserAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String toString() {
        return "JwtUserAuthority{" +
                "authority='" + authority + '\'' +
                '}';
    }

}
